<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><c:if test="${rodzaj=='dodanie'}">Dodawanie lektora</c:if>
<c:if test="${rodzaj=='edycja'}">Edycja lektora</c:if></title>
</head>
<body>
	<form:form commandName="form">
<center>
	<table>
		<tr>
			<td>Imie :</td>
			<td><form:input path="imie" /></td>
			<td>Nazwisko :</td>
			<td><form:input path="nazwisko" /></td>
		</tr>
		<tr>
			<td>Ulica :</td>
			<td><form:input path="ulica" /></td>
			<td>Nr domu :</td>
			<td><form:input path="dom"/></td>
		</tr>
		<tr>
			<td>Kod pocztowy :</td>
			<td><form:input path="kod"/></td>
			<td>Miasto :</td>
			<td><form:input path="miasto"/></td>
		</tr>
		<tr>	
			<td>Państwo :</td>
			<td><form:input path="panstwo"/></td>
		</tr>
		<tr>
			<td>Nauczany język:</td>
			<td><form:select path="jezyk">
				<form:option value="angielski" label="angielski" />
				<form:option value="niemiecki" label="niemiecki" />
				<form:option value="francuski" label="francuski" />
				<form:option value="wloski" label="wloski" />
				<form:option value="hiszpanski" label="hiszpański" />
				</form:select></td>
		</tr>
		<tr>
			<td>Grupy :</td>
			<td><form:select path="grupa">
				<form:option value="AA1" label="AA1" />
				<form:option value="AA2" label="AA2" />
				<form:option value="AB1" label="AB1" />
				<form:option value="AB2" label="AB2" />
				<form:option value="AC1" label="AC1" />
				<form:option value="AC2" label="AC2" />
				<form:option value="NA" label="NA" />
				<form:option value="NB" label="NB" />
				<form:option value="NC" label="NC" />
				<form:option value="F1" label="F1" />
				<form:option value="F2" label="F2" />
				<form:option value="F3" label="F3" />
				<form:option value="WA" label="WA" />
				<form:option value="WB" label="WB" />
				<form:option value="WC" label="WC" />
				<form:option value="H1" label="H1" />
				<form:option value="H2" label="H2" />
				<form:option value="H3" label="H3" />
			</form:select></td>
		</tr>
		<tr>
			<td>Stawka godzinowa :</td>
			<td><form:input path="stawka" /></td>
			<td>Ilość zajęć w tygodniu:</td>
			<td><form:input path="godziny" /></td><!-- tu trzeba jeszcze zmienić -->
		<tr>
			<td>O lektorze :</td>
			<td><form:textarea path="about" /></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="Zapisz"></td>
		</tr>
	</table>
	</center>
</form:form>
</body>
</html>